﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ContactSubmit.ascx.cs" Inherits="UserControls_ContactControl" %>
<link href="../styles/contactsubmit.css" rel="stylesheet" type="text/css" />

<%--divInformation--%>
<div runat="server" id="divInformation" class="table"> 
    <div class="row">
        <div class="header">Name</div>
    </div>
    <div class="row">
        <div class="content" style="height: 24px">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtFirstName"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ErrorMessage="(*)" ControlToValidate="txtFirstName" ForeColor="Red" 
            SetFocusOnError="True"></asp:RequiredFieldValidator>
        </div>
        <div class="content" style="height: 24px">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtLastName"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
            ErrorMessage="(*)" ControlToValidate="txtLastName" ForeColor="Red" 
            SetFocusOnError="True"></asp:RequiredFieldValidator>
        </div>
        <div class="row" style="font-size:x-small">
            <div class="header">First Name</div>
            <div class="header">Last Name</div>
        </div>
    </div>
    <div class="row">
        <div class="header">Email</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtEmail"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ErrorMessage="(*)" ControlToValidate="txtEmail" ForeColor="Red" 
                    SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ErrorMessage="Bad email address" ControlToValidate="txtEmail" ForeColor="Red" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        </div>
    </div>
    <div class="row">
        <div class="header">Phone</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtPhone"></asp:TextBox>
        </div>
    </div>
</div>

<%--divBillingType--%>
<div runat="server" id="divBillingType" class="table">
    <div class="row">
        <div class="header">Type</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:DropDownList ID="ddlTypeBilling" CssClass="textbox" runat="server" DataTextField="Name" DataValueField="Id"></asp:DropDownList>
        </div>
    </div>
</div>
